/*
 * @Author: sichuntian sichuntian@smartmappingtek.com
 * @Date: 2023-11-27 14:33:35
 * @LastEditors: sichuntian sichuntian@smartmappingtek.com
 * @LastEditTime: 2023-12-07 18:58:00
 * @Description:
 *
 */
const mongoose = require("mongoose");
const Schema = mongoose.Schema;

// 操作记录
var OperationRecordSchema = new Schema({
  heading: Number,
  pitch: Number,
  height: Number,
  length: Number,
  image: String,
  creation_time: Number,
  camera_id: String,
  tower_id: String,
  scene_id: String,
  scene_name: String,
  tower_name: String,
  camera_name: String,
  longitude: String,
  latitude: String,
  fov: String,
  location: String,
  number: String,
  elevation: String,
  resolution_ratio: String, //分辨率
  heightDiff: String,
  coverLength: String,
  pitchAngle: String,
  viewAngle: String,


});

var recordModel = mongoose.model("operationrecords", OperationRecordSchema);

module.exports = {
  recordModel,
};
